package com.bawei.library_common.utils

import com.bawei.library_common.log.Logger
import com.bawei.library_common.log.LoggerLevel
import com.bawei.library_common.log.LoggerStrategy

/**
 * @Author : yaotianxue
 * @Time : On 2023/5/23 10:23
 * @Description : LoggerUtils
 */
class LoggerUtils {
    companion object{
        private val logger = Logger.Builder()
            .setLevel(LoggerLevel.Error)
            .setSaveUrl("磁盘路径")
            .isDebug(true)
            .setTAG("main业务模块")
            .build()

        fun d(Tag:String,log:String){
            logger.d(Tag,log)
        }
        fun e(Tag:String,log:String){
            logger.e(Tag,log)
        }
        fun v(Tag:String,log:String){
            logger.v(Tag,log)
        }
        fun i(Tag:String,log:String){
            logger.i(Tag,log)
        }

    }
}